package dreamdancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceSplinterReissueConfigLog 碎片补发
type DanceSplinterReissueConfigLog struct {
	Id           int64          `json:"id" gorm:"primaryKey;autoIncrement;comment:id"`
	ActivityId   int64          `json:"activity_id" gorm:"column:activityId;type:bigint;default:0;not null;comment:活动id"`
	UserId       string         `json:"userId" gorm:"column:user_id;type:varchar(256);not null;default:'';comment:用户id"`
	UserName     string         `json:"userName" gorm:"column:user_name;type:varchar(256);not null;default:'';comment: 用户名字"`
	SplinterNo   string         `json:"splinterNo" gorm:"column:splinter_no;type:varchar(256);not null;default:'';comment: 碎片编号"`
	SplinterName string         `json:"splinterName" gorm:"column:splinter_name;type:varchar(256);not null;default:'';comment: 碎片名称"`
	SplinterNum  int64          `json:"splinterNum" gorm:"column:Splinter_num;type:bigint;default:0;not null;comment:碎片数量"`
	Remark       string         `json:"remark" gorm:"column:remark;type:varchar(256);not null;default:'';comment: 备注"`
	CreatedId    int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"` // 更新人id
	CreatedAt    time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt    time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt    gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
